<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class log extends Model {
	//
	public function users() {
		return $this->belongsTo('App\User', 'class_id');
	}

	public function articles() {
		return $this->belongsTo('App\Article', 'class_id');
	}

	public function questions() {
		return $this->belongsTo('App\Question', 'class_id');
	}

	public function topics() {
		return $this->belongsTo('App\Topic', 'class_id');
	}

	public function columns() {
		return $this->belongsTo('App\Column', 'class_id');
	}
}
